package com.vhall.component.entity.anchors.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * AnchorRoomSaveVO-
 *
 * @author xing.wang
 * @date 2022/9/29
 */
@Data
public class AnchorRoomSaveVO implements Serializable {
    /**
     * 用户token令牌
     */
    private String token;
    /**
     * 房间id
     */
    @ParamName("room_id")
    @NotBlank(message = "房间id不能为空")
    private String roomId;
    /**
     * 主播id
     */
    @ParamName("anchor_id")
    @NotNull(message = "主播id不能为空")
    private Integer anchorId;
    /**
     * 房间和主播关联id
     */
    private Integer id;
}
